package com.codeckz.library_face.controller

import android.graphics.Bitmap
import android.graphics.Rect
import com.serenegiant.usb.Size
import java.io.Serializable

/**
 *@packageName com.codeckz.library_face
 *@author kzcai
 *@date 2022/1/10
 */
abstract class BaseFilterFace : Serializable {

    abstract fun checkFace(bitmap: Bitmap, checkArea: Rect): FilterFaceResult


}

data class FilterFaceResult(
    val success: Boolean,
    val errorStr: String,
    val faceCount: Int,
    val image: Bitmap? = null,
    val hrFaceId:String = ""
) {

}